public class Account {
    int balance;
    Object lock = new Object();

}